package com.lyl.servicestatistics.cloudclient;

import com.lyl.commonutils.R;
import com.lyl.vo.order.UcenterMemberWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(value = "service-ucenter",fallback = UcenterDegradeFeignClient.class)
public interface UcenterClient {
    //根据课程id查询课程信息
    @GetMapping("/serviceucenter/member/getCountByDay/{date}")
     R getCountByDay(@PathVariable("date") String date);
}
